/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.entity;

/**
 *
 * @author admin
 */
public class Comment {
    //Fields
    private int commentID;
    private String content;
    private int status;
    private User user;
    private Post post;
    
    //Contructor
    public Comment(){}
    
    public Comment(int commentID, String content, int status, User user, Post post){
        this.commentID = commentID;
        this.content = content;
        this.status = status;
        this.user = user;
        this.post = post;
    }
    
    //Properties
    public void setCommentID(int commentID){
        this.commentID = commentID;
    }
    
    public int getCommentID(){
        return commentID;
    }
    
    public void setContent(String content){
        this.content = content;
    }
    
    public String getContent(){
        return content;
    }
    
    public void setStatus(int status){
        this.status = status;
    }
    
    public int getStatus(){
        return status;
    }
    
    public void setUser_id(User user ){
        this.user = user;
    }
    
    public User getUser_id(){
        return user;
    }
    
    public void setPost_id(Post post){
        this.post = post;
    }
    
    public Post getPost_id(){
        return post;
    }
}
